﻿<!DOCTYPE html>
<html>

<head>
	<title>微信登录</title>
	<meta charset="utf-8">
	<link rel="stylesheet" href="../css/impowerapp45a337.css">
	<script src="../js/jquery.min3696b4.js"></script>
</head>

<body>
	<div class="old-template" style="display: none;">
		<div class="main impowerBox">
			<div class="loginPanel normalPanel">
				<div class="title">微信登录</div>
				<div class="waiting panelContent">
					<div class="wrp_code"><img class="qrcode lightBorder"
							src="../img/dae.gif" /></div>
					<div class="info">
						<div class="status status_browser js_status js_wx_default_tip" id="wx_default_tip">
							<p>请使用微信扫描二维码登录</p>
							<p>“网易云音乐”</p>
						</div>
						<div class="status status_succ js_status js_wx_after_scan" style="display:none"
							id="wx_after_scan">
							<i class="status_icon icon38_msg succ"></i>
							<div class="status_txt">
								<h4>扫描成功</h4>
								<p>请在微信中点击确认即可登录</p>
							</div>
						</div>
						<div class="stel" style="display:none" id="wx_after_cancel">
							<i class="starn"></i>
							<div class="status_txt">
								<h4>您已取消此次登录</h4>
								<p>您可再次扫描登录，或关闭窗口</p>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	
	<script>
		function AQ_SECAPI_ESCAPE(a, b) {
			for (var c = new Array, d = 0; d < a.length; d++)
				if ("&" == a.charAt(d)) {
					var e = [3, 4, 5, 9], f = 0; for (var g in e) {
						var h = e[g];
						if (d + h <= a.length) {
							var i = a.substr(d, h).toLowerCase();
							if (b[i]) {
								c.push(b[i]), d = d + h - 1, f = 1;
								break
							}
						}
					}
					0 == f && c.push(a.charAt(d))
				}
				else c.push(a.charAt(d)); return c.join("")
		}
		function AQ_SECAPI_CheckXss() {
			for (var a = new Object, b = "'\"<>`script:daex/hml;bs64,", c = 0; c < b.length; c++) {
				for (var d = b.charAt(c), e = d.charCodeAt(), f = e, g = e.toString(16), h = 0;
					h < 7 - e.toString().length;
					h++)f = "0" + f; a["&#" + e + ";"] = d, a["&#" + f] = d, a["&#x" + g] = d
			} a["&lt"] = "<",
				a["&gt"] = ">", a["&quot"] = '"';
			var i = location.href, j = document.referrer;
			i = decodeURIComponent(AQ_SECAPI_ESCAPE(i, a)),
				j = decodeURIComponent(AQ_SECAPI_ESCAPE(j, a));
			var k = new RegExp("['\"<>`]|script:|data:text/html;base64,");
			if (k.test(i) || k.test(j)) {
				var l = "1.3", m = "http://zyjc.sec.qq.com/dom", n = new Image;
				n.src = m + "?v=" + l + "&u=" + encodeURIComponent(i) + "&r=" + encodeURIComponent(j),
					i = i.replace(/['\"<>`]|script:/gi, ""),
					i = i.replace(/data:text\/html;base64,/gi,
						"data:text/plain;base64,"), location.href = i
			}
		}
		AQ_SECAPI_CheckXss();
	</script>
	<script>
		!function () {
			function a(a) {
				var b = document.location.search || document.location.hash;
				if (b) {
					if (/\?/.test(b) && (b = b.split("?")[1]), null == a)
						return decodeURIComponent(b);
					for (var c = b.split("&"), d = 0; d < c.length; d++)
						if (c[d].substring(0, c[d].indexOf("=")) == a)
							return decodeURIComponent(c[d].substring(c[d].indexOf("=") + 1))
				}
				return ""
			}
			function b(a) {
				jQuery.ajax({
					type: "GET", url: p + "/connect/l/qrconnect?uuid=011TzQ9q0tM5000J" + (a ? "&last=" + a : ""),
					dataType: "script", cache: !1, timeout: 6e4, success: function (a, e, f) {
						var g = window.wx_errcode; switch (g) {
							case 405: var h = "https://music.163.com/back/weichat";
								h = h.replace(/&amp;/g, "&"), h += (h.indexOf("?") > -1 ? "&" : "?") + "code=" + wx_code + "&state=zQzmdskAFH";
								var i = c("self_redirect"); if (d) if ("true" !== i && "false" !== i) try {
									document.domain = "qq.com"; var j = window.top.location.host.toLowerCase();
									j && (window.location = h)
								} catch (k) {
									window.top.location = h
								}
								else if ("true" === i) try {
									window.location = h
								} catch (k) {
									window.top.location = h
								}
								else window.top.location = h;
								else window.location = h;
								break;
							case 404: jQuery(".js_status").hide(),
								jQuery(".js_qr_img").hide(), jQuery(".js_wx_after_scan").show(), setTimeout(b, 100, g);
								break;
							case 403: jQuery(".js_status").hide(),
								jQuery(".js_qr_img").hide(),
								jQuery(".js_wx_after_cancel").show(),
								setTimeout(b, 2e3, g);
								break;
							case 402: case 500: window.location.reload();
								break;
							case 408: setTimeout(b, 2e3)
						}
					},
					error: function (a, c, d) {
						var e = window.wx_errcode;
						408 == e ? setTimeout(b, 5e3) : setTimeout(b, 5e3, e)
					}
				})
			}
			function c(a, b) {
				b || (b = window.location.href), a = a.replace(/[\[\]]/g, "\\$&");
				var c = new RegExp("[?&]" + a + "(=([^&#]*)|&|#|$)"),
					d = c.exec(b);
				return d ? d[2] ? decodeURIComponent(d[2].replace(/\+/g, " ")) : "" : null
			}
			var d = window.top != window;
			if (!d) {
				document.getElementsByClassName || (document.getElementsByClassName = function (a) {
					for (var b = [], c = new RegExp("(^| )" + a + "( |$)"),
						d = document.getElementsByTagName("*"),
						e = 0, f = d.length; f > e; e++)c.test(d[e].className) && b.push(d[e]);
					return b
				});
				for (var e = document.getElementsByClassName("status"),
					f = 0, g = e.length;
					g > f; ++f) {
					var h = e[f];
					h.className = h.className + " normal"
				}
			}
			var i = parseInt(a("styletype"), 10),
				j = parseInt(a("sizetype"), 10),
				k = a("bgcolor"), l = NaN;
			if (1 !== i && 0 !== i && 1 === l && (i = 0), 1 === i) d ? document.body.className = document.body.className + " redesign-style_iframe" + (1 === j ? " redesign-style_iframe-small" : "") : document.body.className = document.body.className + "redesign-style_page",
				k && (document.body.style.backgroundColor = k),
				jQuery(".new-template").show(); else {
				if (d) {
					var m = "";
					"white" != m && (document.body.style.color = "#373737")
				} else
					document.body.style.backgroundColor = "#333333", document.body.style.padding = "50px";
				if (jQuery(".old-template").show(), 0 !== i) {
					var n = "";
					if (n) {
						var o = document.createElement("link");
						o.rel = "stylesheet",
							o.href = n.replace(new RegExp("javascript:", "gi"), ""),
							document.getElementsByTagName("head")[0].appendChild(o)
					}
				}
			}

		}();
	</script>
</body>

</html>